package com.wzs.workbench.service;

import com.wzs.vo.PaginationVO;
import com.wzs.workbench.domain.Chapter;
import com.wzs.workbench.domain.Novel;

import java.util.HashMap;
import java.util.List;

public interface NovelService {
    PaginationVO<Chapter> pageList(HashMap<String, Object> map);

    PaginationVO<Novel> novelPageList(HashMap<String, Object> map);

    Novel getById(String novelId);

    PaginationVO<Novel> pageListByAid(HashMap<String, Object> map);

    boolean putNovel(Novel novel);

    boolean deleteNovel(String[] ids);

    Novel getNovelList(String id);

    boolean updateNovel(Novel novel);

    Novel detail(String id);

    List<String> getNovelName(String name);
}
